<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>岗位管理</title>
<link rel="stylesheet" href="<%=request.getContextPath() %>/resources/admin/css/list.css" type="text/css"></link>
<script type="text/javascript" src="<%=request.getContextPath() %>/resources/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resources/js/common.js"></script>
</head>
<body>
<div id="inside_content">
	<div id="dynamic">岗位管理</div>
	<div id="list_content">
		<div id="list_feature">
			<div class="op" onclick="to('<%=request.getContextPath() %>/role!toAddRole.action?curPage=${request.curPage }')" title="新增"><img src="<%=request.getContextPath() %>/resources/admin/images/001.png"/></div>
		</div>
	</div>
		<div id="show_content">
			<ul>
				<li id="nan">
					<ul>
						<li>编号</li>
						<li style="width: 20%;">岗位名称</li>
						<li style="width: 10%;">岗位级别</li>
						<li style="width: 38%;">岗位描述</li>
						<li>详情</li>
						<li>编辑</li>
						<li>删除</li>
					</ul>
				</li>
				<c:forEach  var="info" items="${requestScope.resultMap.list }"  varStatus="xh">
					<li id="<c:if test='${xh.count%2==0 }'>nan_im_double</c:if><c:if test='${xh.count%2!=0 }'>nan_im_single</c:if>"     >
						<ul>
							<li>${xh.count+request.xh}</li>
							<li style="width: 20%;">${info.rolename}</li>
							<li style="width: 10%;">${info.orderid}</li>
							<li style="width: 38%;" title="${info.remark}">${info.remark}</li>
							<li id="function_button"><img src="<%=request.getContextPath() %>/resources/admin/images/details_logo.png"/></li>
							<li id="function_button" onclick="to('<%=request.getContextPath() %>/role!detailsRole.action?url=to_update&id=${info.id}&curPage=${request.curPage}')"><img src="<%=request.getContextPath() %>/resources/admin/images/editor_logo.png"/></li>
							<li id="function_button" onclick="detele('是否删除该岗位信息？','<%=request.getContextPath() %>/role!deleteRole.action?id=${info.id}','<%=request.getContextPath() %>/role!searchRole.action?page=${request.curpage}')"><img src="<%=request.getContextPath() %>/resources/admin/images/delete_logo.png"/></li>
						</ul>
					</li>
				</c:forEach>
			</ul>
			<div id="pageBar"  style=" ">${requestScope.pageBar }</div>
	</div>
</div>
<script type="text/javascript" src="<%=request.getContextPath() %>/resources/js/common.js"></script>
</body>
</html>